package org.ccjava.portail.webuidsl.ide;

import java.util.Arrays;
import java.util.List;

import org.codehaus.groovy.eclipse.editor.highlighting.IHighlightingExtender;
import org.eclipse.jface.text.rules.IRule;

/**
 * Permet d'ajouter des mot cles au GJDK et d'obtenir la colorisation syntaxique
 * 
 * @author dgouyette
 * 
 */
public class WebuidslSyntaxHighlighting implements IHighlightingExtender {

	@Override
	/**
	 * {@inheritDoc}
	 */
	public List<String> getAdditionalGJDKKeywords() {
		return Arrays.asList("form", "formItem", "id", "label", "title",
				"type", "validate", "jcrPath", "verbatim");
	}

	@Override
	/**
	 * {@inheritDoc}
	 */
	public List<String> getAdditionalGroovyKeywords() {
		return null;
	}

	@Override
	/**
	 * {@inheritDoc}
	 */
	public List<IRule> getAdditionalRules() {
		return null;
	}

}
